package org.javaboy.demo.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import org.javaboy.demo.model.User;

import java.io.IOException;
import java.util.List;

public interface UserMapper {
    int addUsers(@Param("users") List<User> users);

    int addUser(User user);
}
